package com.jsu.bean;

import java.util.ArrayList;
import java.util.List;

import org.springframework.stereotype.Component;

@Component
public class LostDetail {

	private Lost lost;
	private List<LostMessage> lostMessages = new ArrayList<LostMessage>();
	public Lost getLost() {
		return lost;
	}
	public void setLost(Lost lost) {
		this.lost = lost;
	}
	public List<LostMessage> getLostMessages() {
		return lostMessages;
	}
	public void setLostMessages(List<LostMessage> lostMessages) {
		this.lostMessages = lostMessages;
	}
	public void addLostMessage(LostMessage lostMessage){
		this.lostMessages.add(lostMessage);
	}
}
